package com.example.demo.services.imp;


import com.example.demo.mapper.teacherMapper;
import com.example.demo.services.teacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class teacherServiceImp implements teacherService {


    @Autowired
    private teacherMapper teacherMapper;


    @Override
    public Integer updateTeacher(String name, String city, Integer id) {
        return teacherMapper.updateTeacher(name, city, id);
    }
}
